/*
* @Author: wanghongfucoder
* @Date:   2017-03-09 10:20:41
* @Last Modified by:   wanghongfucoder
* @Last Modified time: 2017-03-09 10:24:11
*/

public class Demo {
	public static void main(String[] args) {
		Stock abcstock=new Stock();
		BuyStock buyStock=new BuyStock(abcstock);
		SellStock  sellStock=new SellStock(abcstock);

		Broker broker=new Broker();
		broker.takeOrder(buyStock);
		broker.takeOrder(sellStock);
		broker.placeOrders();
	}
}